package com.bgrconsulting.stockorderentry.service.converter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.bgrconsulting.stockorderentry.service.model.DTBalance;

@XmlRootElement(name = "dtBalance")
public class DTBalanceConverter {
	private DTBalance enity = null;
	
	public DTBalanceConverter() {
		enity = new DTBalance();
	}
	
	public DTBalanceConverter(DTBalance dtBalance) {
		enity = dtBalance;
	}
	
	 @XmlElement(name = "dtCashBalance")
	public Double getDTCashBalance() {
		return enity.getDTCashBalance();
		
	}
	
	 @XmlElement(name = "dtMarginBalance")
	public Double getDTMarginBalance() {
		return enity.getDTMarginBalance();
		
	}
	
	 @XmlElement(name = "dtMarginableSercurities")
	public Double getDTMarginSecurities()  {
		return enity.getDTMarginSecurities();
	}
	
	 @XmlElement(name = "dtNonMarginableSecuritiesAndOptions")
	public Double getDTNonMarginableSecuritiesAndOptions()  {
		return enity.getDTNonMarginableSecuritiesAndOptions();
		
	}
	
	 @XmlElement(name = "dtStatus")
	public String getDTStatus() {
		return enity.getDTStatus();
	}
}
